/*
 * 代号：凤凰
 * http://www.jphenix.org
 * 2024年8月17日
 */
package org.springframework.core;

import org.springframework.lang.Nullable;

/**
 * 【假类】假的Spring类
 * @author MBG
 * 2024年8月17日
 */
public abstract class NestedRuntimeException extends RuntimeException {

	/** Use serialVersionUID from Spring 1.2 for interoperability. */
	private static final long serialVersionUID = 5439915454935047936L;
	public NestedRuntimeException(String msg) {}
	public NestedRuntimeException(@Nullable String msg, @Nullable Throwable cause) {}

	@Override
	@Nullable
	public String getMessage() {
		return null;
	}

	@Nullable
	public Throwable getRootCause() {
		return null;
	}

	public Throwable getMostSpecificCause() {
		return null;
	}

	public boolean contains(@Nullable Class<?> exType) {
		return false;
	}

}
